package com.yuntsg.ruiijn.database_interior.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author i2twmx@gmail.com
 * @since 2022-07-21
 */
@TableName("file_details_interior")
@Data
@Accessors(chain = true)
public class FileDetailsInterior implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 文件id
     */
    private Integer fId;


    /**
     * 记录id
     */
    private Integer rid;

    /**
     * 类型(1文本,2图片,3用户上传图片，4拆分图片,5拆分文字.6自定义切割,-1 检索结果图片 不显示)
     */
    private Integer tpye;

    /**
     * 精细拆分拆分状态(0未拆分 1 已拆分)
     */
    private Integer splitStatus;


    private String pmid;

    private Integer status;

    private Integer tableNo;

    private Integer serialId;


    /**
     * 目录id 默认 -1 目标 -2
     */
    private Integer syncStatus;

    /**
     * 上传时间
     */
    private Long syncTime;
    /**
     * 用户id
     */
    private String syncId;

    private Integer collectionStatus;

    /**
     * 目录id 默认0 删除 -1
     */
    private Integer deleteFlag;


    /**
     * 字节流
     */
    private byte[] figureZip;


    private String path;

    private Integer topX = 0;
    private Integer topY = 0;
    private Integer bottomX = 0;
    private Integer bottomY = 0;


}
